<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>热点预览页</title>
    <link rel="stylesheet" href="../../css/reset.css">
</head>
<body>
<style>
    img {
        width: 100%;
    }
</style>

<img src="../../img/test2.jpg"/>
<img src="../../img/test1.jpeg"/>
<img src="../../img/test3.jpg"/>
<img src="../../img/img1.gif"/>

<script src="../../modules/jquery.js"></script>
<script src="../../mymodel/newShade.js"></script>


<script>
    $(function () {
        function ParseURLParams(callback) {
            var Params = [];
            var url = window.location.href;
            var reg = /([^?=&]+)=([^?=&]+)/g;
            while (reg.test(url)) {
                Params[RegExp.$1] = RegExp.$2;
            }
            callback(Params);
        }

        ParseURLParams(function (par) {
            $.ajax({
                type: "get",
                url: $.getIsrc_pre(),
                dataType: "jsonp",
                data: "pageId=" + par['tdPageId'],
                success: function (e) {
                    $.createShade(e);
                },
                error: function (e) {
                    console.log(e);
                }
            })
        });

    })

</script>
</body>
</html>